<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			window.onload = function(){
				var innerHtmlDiv = document.getElementById("innerHtmlDivId");
//				innerHtmlDiv.innerHTML = "<samp style='color: red;'>InnerHtml</samp>";
				var dv = document.getElementsByTagName('div')[0];
				console.log(dv.firstChild.wholeText);
				console.log(dv.firstChild);
			}
		</script>
	</head>
	<body>
		<div>
			ddd
		</div>
		<div id="innerHtmlDivId">
			<div>aaa</div>
		</div>
		<ul>
			<li>1</li>
			<li>2</li>
			<li>3</li>
		</ul>
	</body>
</html>
